package com.lazycat.backend.service.impl.store;

import com.lazycat.backend.mapper.GoodMapper;
import com.lazycat.backend.service.store.InsertGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class InsertGoodServiceImpl implements InsertGoodService {

    @Autowired
    private GoodMapper goodMapper;

    @Override
    public void insert(Map<String, Object> hashMap) {
        goodMapper.insertGood(hashMap);
    }
}
